package com.ygqh.baby.mapper;

import com.ygqh.baby.model.YgUserModel;
import com.ygqh.baby.po.YgUser;
import com.ygqh.baby.po.YgUserExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface YgUserMapper {
	int countByExample(YgUserExample example);

	int deleteByExample(YgUserExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgUser record);

	int insertSelective(YgUser record);

	List<YgUser> selectByExample(YgUserExample example);

	YgUser selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgUser record, @Param("example") YgUserExample example);

	int updateByExample(@Param("record") YgUser record, @Param("example") YgUserExample example);

	int updateByPrimaryKeySelective(YgUser record);

	int updateByPrimaryKey(YgUser record);

	YgUserModel selectUserInfo(@Param("id") Long id);

	List<YgUserModel> selectUserInfoByIds(@Param("ids") List<Long> ids);
}